import java.io.FileNotFoundException;
import java.io.IOException;

import org.gnu.glade.GladeXMLException;
import org.gnu.glade.LibGlade;
import org.gnu.gtk.Gtk;

/**
 * 
 */

/**
 * @author johnydoe
 *
 */
public class Demo {

	private LibGlade libGlade;
	
	public Demo() throws GladeXMLException, FileNotFoundException, IOException {
		this.libGlade = new LibGlade("/home/johnydoe/demo.glade", this);
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Demo gui;
		Gtk.init(args);
		
		try {
			gui = new Demo();
		} catch (GladeXMLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		Gtk.main();
	}

}

